<template>
  <el-container>
    <el-header>疫苗预约管理系统</el-header>
    <el-container>
      <el-aside width="200px">
        <el-menu router unique-opened background-color="#2B4B6B" text-color="#fff" active-text-color="#409EFF">
          <el-submenu index="1">
            <template slot="title">
              <i class="el-icon-picture"></i>
              <span>预约信息管理</span>
            </template>
            <el-menu-item index="/appointment">
              <i class="el-icon-date"></i>
              <span>预约信息管理</span>
            </el-menu-item>
            <el-menu-item index="/vaccines">
              <i class="el-icon-bangzhu"></i>
              <span>疫苗信息管理</span>
            </el-menu-item>
          </el-submenu>
          <el-submenu index="2">
            <template slot="title">
              <i class="el-icon-user-solid"></i>
              <span>用户信息管理</span>
            </template>
            <el-menu-item index="/user">
              <i class="el-icon-s-marketing"></i>
              <span>预约用户管理</span>
            </el-menu-item>
            <el-menu-item index="/address">
              <i class="el-icon-location-outline"></i>
              <span>预约地点管理</span>
            </el-menu-item>
          </el-submenu>
          <el-submenu index="3">
            <template slot="title">
              <i class="el-icon-s-tools"></i>
              <span>系统信息管理</span>
            </template>
            <el-menu-item index="/logs">
              <i class="el-icon-c-scale-to-original"></i>
              <span>系统日志管理</span>
            </el-menu-item>
            <el-menu-item index="/administrators">
              <i class="el-icon-s-check"></i>
              <span>系统用户管理</span>
            </el-menu-item>
          </el-submenu>
        </el-menu>
      </el-aside>
      <el-main>
        <router-view/>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
 export default{
   data(){
     return{

     }
   }
 }
</script>

<style scoped>
  .el-header {
    background-color: #2B4B6B;
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    align-items: center;
    color: white;
    font-size: 18px;
  }
  .el-aside {
    color: white;
    background-color: #2B4B6B;
  }
  .el-main {
    background-color: aliceblue;
  }
  .el-container {
    height: 100%;
  }
</style>
